import { UserProvider } from '@/contexts/UserContext';

interface ProviderProps {
  children: React.ReactNode;
}

// 创建一个简单的Provider组件，作为传递children的包装组件
export const Provider = ({ children }: ProviderProps) => {
  return (
    <UserProvider>
      {children}
    </UserProvider>
  );
};